import selfApi from "@/apis/selfApi"
import userStore from "@/store/userStore";
import { defineStore} from "pinia"

export default defineStore('self',{
    state:()=>{
        return { 
            searchinfo:[]  as any,
           
        }
    },
    actions:{ 
       
        
         async getAllBokByUid(){
             return this.searchinfo
         },
        
        
    },
    persist:{
      key:'searchinfo',
      storage:sessionStorage
 }
})